package com.flong.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import com.flong.entity.TaskCron;

@Mapper
public interface ICronMapper {
	
	@Select("select cron from t_cron limit 1")
    String getCron();
	
	@Update("update t_cron set cron=#{cron} where cron_Id=#{cronId}")  
	public int update(TaskCron cron);  
	
	
}
